﻿using System;

namespace digiTwitter
{
    public class TwitterSearchSettings
    {
        /// <summary>
        /// Returns tweets that match a specified query.
        /// </summary>
        public String Query { get; set; }

        /// <summary>
        /// Restricts tweets to the given language, given by an ISO 639-1 code. Ex: http://search.twitter.com/search.atom?lang=en&q=devo
        /// </summary>
        public String Language { get; set; }

        /// <summary>
        /// The number of tweets to return per page, up to a max of 100. Ex: http://search.twitter.com/search.atom?lang=en&q=devo&rpp=15
        /// </summary>
        public int ReturnPerPage { get; set; }

        /// <summary>
        /// The page number (starting at 1) to return, up to a max of roughly 1500 results (based on rpp * page)
        /// </summary>
        public int Page { get; set; }

        /// <summary>
        /// Returns tweets with status ids greater than the given id.
        /// </summary>
        public int SinceID { get; set; }

        /// <summary>
        /// Returns tweets by users located within a given radius of the given latitude/longitude, 
        /// where the user's location is taken from their Twitter profile. 
        /// The parameter value is specified by "latitide,longitude,radius", where radius units must be specified as either "mi" (miles) or "km" (kilometers). 
        /// Ex: http://search.twitter.com/search.atom?geocode=40.757929%2C-73.985506%2C25km. 
        /// </summary>
        public String GeoCode { get; set; }

        /// <summary>
        /// When "true", adds "<user>:" to the beginning of the tweet. This is useful for readers that do not display Atom's author field. 
        /// The default is "false".
        /// </summary>
        public bool ShowUser { get; set; }

    }
}
